package vehicle;

/*
 * 测试类
 */

public class Test {
	public static void main(String[] args) {
		Vehicle vehicle;

		// 卡车行驶
		vehicle = new Truck("京BX1231", "东风", 15.5);
		vehicle.run();

		// 巴士行驶
		vehicle = new Bus("京H12172", "奔驰", 50);
		vehicle.run();

	}

}
